<?PHP

@include 'db.inc.php';
$abfrage = "select * from abacus";
$ergebnis = mysql_query($abfrage) or die(mysql_error());

echo "<table border=\"1\">";
while ($zeile = mysql_fetch_array($ergebnis, MYSQL_ASSOC)) {
    echo "<tr>";
    while (list($schluessel, $wert) = each($zeile)) {
        echo "<td>" . $wert . "</td>";
    }
    echo "</tr>";
}
echo "</table>";
?>